import Layout from '@/layout'

export default {
  path: '/marketing',
  component: Layout,
  redirect: '/marketing/group',
  name: 'Marketing',
  meta: { title: '营销管理', icon: 'guide', noCache: true },
  children: [
    {
      path: 'basic',
      name: 'MarketingBasic',
      component: () => import('@/views/marketing/basic'),
      meta: { title: '基本设置', icon: 'star', noCache: true },
      hidden: true
    },
    {
      path: 'group',
      name: 'MarketingGroup',
      component: () => import('@/views/marketing/group'),
      meta: { title: '拼团设置', icon: 'star', noCache: true },
      hidden: true
    },
    {
      path: 'group-level',
      name: 'MarketingGroupLevel',
      component: () => import('@/views/marketing/group-level'),
      meta: { title: '团长等级', icon: 'star', noCache: true },
      hidden: true
    },
    {
      path: 'second-kill',
      name: 'MarketingSecondKill',
      component: () => import('@/views/marketing/second-kill'),
      meta: { title: '秒杀设置', icon: 'star', noCache: true },
      hidden: true
    },
    {
      path: 'order',
      name: 'MarketingOrder',
      component: () => import('@/views/marketing/order'),
      meta: { title: '代客下单', icon: 'star', noCache: true },
      hidden: true
    },
    {
      path: 'coupon',
      name: 'MarketingCoupon',
      component: () => import('@/views/marketing/coupon'),
      meta: { title: '优惠券', icon: 'star', noCache: true },
      hidden: true
    },
    {
      path: 'verify',
      name: 'MarketingVerify',
      component: () => import('@/views/marketing/verify'),
      meta: { title: '核销列表', icon: 'star', noCache: true }
    }
  ]
}
